﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Policlinica
{
    public class Direction : BusinessObjectBase
    {
        private Survey _survey;
        private string _name;
        private string _directionType;

        public Direction()
        {

        }

        public Direction(int id, bool isDeleted, Survey survey, string name, string directionType):base(id, isDeleted)
        {
            _survey = survey;
            _name = name;
            _directionType = directionType;
        }

        public Direction(Survey survey, string name, string directionType)
        {
            _survey = survey;
            _name = name;
            _directionType = directionType;
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                if ((this._name != value))
                {
                    this._name = value;
                }
            }
        }

        public Survey Survey
        {
            get
            {
                return this._survey;
            }
            set
            {
                if ((this._survey != value))
                {
                    this._survey = value;
                }
            }
        }

        public string DirectionType
        {
            get
            {
                return this._directionType;
            }
            set
            {
                if ((this._directionType != value))
                {
                    this._directionType = value;
                }
            }
        }

       

       

        
    }
	

}
